package com.hdu.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 软科排名类型枚举
 *
 * @author xiaobai
 * @since 2023/11/1
 */
@Getter
public enum RuanLabel {

    S(0, "S"),
    A_PLUS(1, "A+"),
    A(2, "A"),
    B_PLUS(3, "B+"),
    B(4, "B"),
    C(5, "C");

    @EnumValue
    private final Integer value;
    @JsonValue
    private final String desc;

    RuanLabel(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
